package chap2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Yunsuan {
    public static void main(String[] args) {
        //1.3+1.2= 2.5
        Scanner sc=new Scanner(System.in);
        System.out.println("输入第一个数：");
        double d1=sc.nextDouble();
        System.out.println("输入第二个数:");
        double d2=sc.nextDouble();
        double cha=d1-d2;
        System.out.println(cha);
    }
}
